package com.example.service;

import com.example.entity.Goods;
import com.github.pagehelper.PageInfo;

import java.util.ArrayList;

public interface GoodService {
    PageInfo<Goods> queryAll(Integer pagenum, Integer pagesize);

    Goods findbyid(Integer id);

    int deletebyid(Integer id);

    int updatebyid(Goods goods);

    int insert(Goods goods);

}
